<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>v-text&v-html 实例</title>
	<script type="text/javascript" src="../assets/js/vue.js"></script>
</head>
<body>
	<h1>v-text&v-html 实例</h1>

	<hr>
	<div id="app">
		<span>{{message}}</span>
		<hr>
		<span v-text="message"></span>

		<hr>
		<span>{{dodo}}</span>
		<hr>
		<span v-text="dodo"></span>
		<hr>
		<span v-html="dodo"></span>
	</div>

</body>
<script type="text/javascript">
var app = new Vue({
	el:'#app',
	data:{
		message:'hhhhhhhhhhh',
		dodo:'<h2>ttttttttttttt</h2>'
	},
	
})

</script>
</html>